package org.example.login.Strategy;


import org.example.feign.pojo.UserInfo;
import org.example.feign.pojo.UserInfo1;

public class ContextU {
    private Strategy strategy;
    public Strategy getStrategy() {
        return strategy;
    }
    private Strategy0 strategy0;
    public  Strategy0 getStrategy0(){
        return strategy0;
    }

    public void setStrategy(Strategy strategy) {
        this.strategy = strategy;
    }

    public void strategyMethod(UserInfo userInfo, String code, UserInfo1 userInfo1) {
        strategy.strategyMethod(userInfo,code,userInfo1);
    }

    public void setStrategy0(Strategy0 strategy0){
        this.strategy0=strategy0;
    }
    public void strategyMethod0(Object list){
        strategy0.strategyMethod0(list);
    }
}
